<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>汤圆管道 - 专业的管道阻力和绝热计算软件</title>
    <style>
        /* 全局样式 */
        :root {
            --primary-color: #2c6fbb;
            --secondary-color: #1e8449;
            --light-color: #f8f9fa;
            --dark-color: #343a40;
            --gray-color: #6c757d;
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            line-height: 1.6;
            color: var(--dark-color);
            background-color: #fff;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        section {
            padding: 80px 0;
        }
        
        h1, h2, h3, h4 {
            margin-bottom: 1rem;
            line-height: 1.3;
        }
        
        h1 {
            font-size: 2.5rem;
            font-weight: 700;
        }
        
        h2 {
            font-size: 2rem;
            font-weight: 600;
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
        }
        
        h2:after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--primary-color);
            border-radius: 2px;
        }
        
        p {
            margin-bottom: 1rem;
        }
        
        .btn {
            display: inline-block;
            padding: 12px 30px;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .btn:hover {
            background-color: #1e5a9c;
            transform: translateY(-3px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }
        
        .btn-secondary {
            background-color: var(--secondary-color);
        }
        
        .btn-secondary:hover {
            background-color: #157347;
        }
        
        /* 导航栏 */
        header {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: fixed;
            width: 100%;
            z-index: 1000;
        }
        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
        }
        
        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            text-decoration: none;
            display: flex;
            align-items: center;
        }
        
        .logo i {
            margin-right: 10px;
            font-size: 1.8rem;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
        }
        
        .nav-links li {
            margin-left: 30px;
        }
        
        .nav-links a {
            text-decoration: none;
            color: var(--dark-color);
            font-weight: 500;
            transition: var(--transition);
        }
        
        .nav-links a:hover {
            color: var(--primary-color);
        }
        
        .mobile-menu {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        /* 首页大图 */
        .hero {
            background: linear-gradient(135deg, rgba(44, 111, 187, 0.9), rgba(30, 132, 73, 0.8)), url('https://images.unsplash.com/photo-1621905252507-b35492cc74b4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 180px 0 100px;
            text-align: center;
        }
        
        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1.5rem;
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 2rem;
        }
        
        /* 特性部分 */
        .features {
            background-color: var(--light-color);
        }
        
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .feature-card {
            background-color: white;
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
            text-align: center;
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .feature-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 20px;
        }
        
        .feature-card h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
        }
        
        /* 功能部分 */
        .functionality {
            background-color: white;
        }
        
        .function-tabs {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            margin-bottom: 40px;
        }
        
        .tab-btn {
            padding: 10px 20px;
            background: none;
            border: none;
            border-bottom: 3px solid transparent;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            margin: 0 10px;
        }
        
        .tab-btn.active {
            color: var(--primary-color);
            border-bottom: 3px solid var(--primary-color);
        }
        
        .tab-content {
            display: none;
        }
        
        .tab-content.active {
            display: block;
        }
        
        .tab-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }
        
        .tab-item {
            background-color: var(--light-color);
            padding: 20px;
            border-radius: 8px;
        }
        
        /* 下载部分 */
        .download {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            text-align: center;
            padding: 100px 0;
        }
        
        .download h2 {
            color: white;
        }
        
        .download h2:after {
            background-color: white;
        }
        
        .download p {
            max-width: 700px;
            margin: 0 auto 2rem;
        }
        
        .download-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }
        
        .download .btn {
            background-color: white;
            color: var(--primary-color);
        }
        
        .download .btn:hover {
            background-color: #f0f0f0;
        }
        
        /* 页脚 */
        footer {
            background-color: var(--dark-color);
            color: white;
            padding: 60px 0 30px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-column h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-column h3:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background-color: var(--primary-color);
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: #b0b0b0;
            text-decoration: none;
            transition: var(--transition);
        }
        
        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }
        
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #b0b0b0;
            font-size: 0.9rem;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            h1 {
                font-size: 2rem;
            }
            
            h2 {
                font-size: 1.8rem;
            }
            
            .hero {
                padding: 150px 0 80px;
            }
            
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .nav-links {
                display: none;
                position: absolute;
                top: 70px;
                left: 0;
                width: 100%;
                background-color: white;
                flex-direction: column;
                padding: 20px;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
            }
            
            .nav-links.active {
                display: flex;
            }
            
            .nav-links li {
                margin: 10px 0;
            }
            
            .mobile-menu {
                display: block;
            }
            
            .download-buttons {
                flex-direction: column;
                align-items: center;
            }
        }
    </style>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
</head>
<body>
    <!-- 导航栏 -->
    <header>
        <div class="container">
            <nav>
                <a href="#" class="logo">
                    <i class="fas fa-tools"></i>
                    汤圆管道
                </a>
                <ul class="nav-links">
                    <li><a href="#home">首页</a></li>
                    <li><a href="#features">特性</a></li>
                    <li><a href="#functionality">功能</a></li>
                    <li><a href="#download">下载</a></li>
                </ul>
                <div class="mobile-menu">
                    <i class="fas fa-bars"></i>
                </div>
            </nav>
        </div>
    </header>

    <!-- 首页大图 -->
    <section class="hero" id="home">
        <div class="container">
            <h1>汤圆管道</h1>
            <p>严格执行国家和行业标准规范开发的管道阻力和绝热计算软件，精确计算不可压缩流体管道的压力降和热损失，跟踪相变过程。</p>
            <a href="#download" class="btn">立即下载</a>
        </div>
    </section>

    <!-- 特性部分 -->
    <section class="features" id="features">
        <div class="container">
            <h2>软件特性</h2>
            <div class="feature-grid">
                <div class="feature-card">
                    <div class="feature-icon">
                        <i class="fas fa-calculator"></i>
                    </div>
                    <h3>精确计算</h3>
                    <p>严格执行国家和行业标准规范，精确计算不可压缩流体管道的压力降和热损失。</p>
                </div>
                <div class="feature-card">
                    <div class="feature-icon">
                        <i class="fas fa-database"></i>
                    </div>
                    <h3>内置数据库</h3>
                    <p>内置管道类型、管道元件、保温材料数据和物性数据库，方便快捷。</p>
                </div>
                <div class="feature-card">
                    <div class="feature-icon">
                        <i class="fas fa-edit"></i>
                    </div>
                    <h3>可自定义</h3>
                    <p>可以根据需要自行修改或添加管道类型、管道元件和保温材料数据。</p>
                </div>
                <div class="feature-card">
                    <div class="feature-icon">
                        <i class="fas fa-file-alt"></i>
                    </div>
                    <h3>详细报告</h3>
                    <p>生成详细的计算报告书，便于分析和存档。</p>
                </div>
                <div class="feature-card">
                    <div class="feature-icon">
                        <i class="fas fa-sync-alt"></i>
                    </div>
                    <h3>相变跟踪</h3>
                    <p>能够跟踪流体在管道中的相变过程，提供更准确的计算结果。</p>
                </div>
                <div class="feature-card">
                    <div class="feature-icon">
                        <i class="fas fa-gift"></i>
                    </div>
                    <h3>完全免费</h3>
                    <p>软件完全免费使用，无任何功能限制。</p>
                </div>
            </div>
        </div>
    </section>

    <!-- 功能部分 -->
    <section class="functionality" id="functionality">
        <div class="container">
            <h2>主要功能</h2>
            <div class="function-tabs">
                <button class="tab-btn active" data-tab="tab1">管道阻力计算</button>
                <button class="tab-btn" data-tab="tab2">绝热计算</button>
                <button class="tab-btn" data-tab="tab3">数据管理</button>
                <button class="tab-btn" data-tab="tab4">报告生成</button>
            </div>
            <div class="tab-content active" id="tab1">
                <div class="tab-grid">
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 压力降计算</h4>
                        <p>精确计算不可压缩流体在管道中的压力降，考虑摩擦阻力和局部阻力。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 流量计算</h4>
                        <p>根据给定的压差计算管道中的流量，支持多种流体介质。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 管道选型</h4>
                        <p>根据流量和压降要求，自动推荐合适的管道尺寸和类型。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 相变跟踪</h4>
                        <p>跟踪流体在管道中的相变过程，计算相变对压降的影响。</p>
                    </div>
                </div>
            </div>
            <div class="tab-content" id="tab2">
                <div class="tab-grid">
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 热损失计算</h4>
                        <p>精确计算管道在不同保温条件下的热损失。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 保温层厚度计算</h4>
                        <p>根据允许的热损失计算所需的保温层厚度。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 表面温度计算</h4>
                        <p>计算保温管道外表面温度，确保符合安全要求。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 经济性分析</h4>
                        <p>分析不同保温方案的经济性，帮助选择最优方案。</p>
                    </div>
                </div>
            </div>
            <div class="tab-content" id="tab3">
                <div class="tab-grid">
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 材料数据库</h4>
                        <p>内置丰富的管道材料、保温材料和流体物性数据库。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 自定义数据</h4>
                        <p>允许用户添加、修改和删除材料数据，满足个性化需求。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 数据导入导出</h4>
                        <p>支持将数据导出为Excel、CSV等格式，便于数据交换。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 数据备份</h4>
                        <p>自动备份用户自定义数据，防止数据丢失。</p>
                    </div>
                </div>
            </div>
            <div class="tab-content" id="tab4">
                <div class="tab-grid">
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 详细计算报告</h4>
                        <p>生成包含所有计算参数、中间结果和最终结果的详细报告。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 报告自定义</h4>
                        <p>允许用户自定义报告格式和内容，满足不同需求。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 多种输出格式</h4>
                        <p>支持将报告输出为PDF、Word和HTML格式。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 图表生成</h4>
                        <p>自动生成计算结果图表，直观展示数据关系。</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 下载部分 -->
    <section class="download" id="download">
        <div class="container">
            <h2>立即下载</h2>
            <p>汤圆管道工具完全免费，无需注册，无任何功能限制。立即下载体验专业的管道阻力和绝热计算。</p>
            <div class="download-buttons">
                <a href="https://gitee.com/yangshu/tang-yuan-tools/releases/download/v1.0/%E6%B1%A4%E5%9C%86%E7%AE%A1%E9%81%93.exe" class="btn">
                    <i class="fas fa-download"></i> 下载软件 (Windows)
                </a>
                <a href="#" class="btn btn-secondary">
                    <i class="fas fa-book"></i> 使用手册
                </a>
            </div>
        </div>
    </section>

    <!-- 页脚 -->
    <footer>
        <div class="container">
            <div class="footer-content">
                <div class="footer-column">
                    <h3>汤圆管道</h3>
                    <p>严格执行国家和行业标准规范开发的管道阻力和绝热计算软件，为工程师提供准确可靠的计算工具。</p>
                </div>
                <div class="footer-column">
                    <h3>快速链接</h3>
                    <ul class="footer-links">
                        <li><a href="#home">首页</a></li>
                        <li><a href="#features">特性</a></li>
                        <li><a href="#functionality">功能</a></li>
                        <li><a href="#download">下载</a></li>
                    </ul>
                </div>
                <div class="footer-column">
                    <h3>支持</h3>
                    <ul class="footer-links">
                        <li><a href="#">使用手册</a></li>
                        <li><a href="#">常见问题</a></li>
                        <li><a href="#">更新日志</a></li>
                        <li><a href="#">联系我们</a></li>
                    </ul>
                </div>
                <div class="footer-column">
                    <h3>联系我们</h3>
                    <ul class="footer-links">
                        <li><i class="fas fa-envelope"></i> yangfengquan@126.com</li>
                        <li><i class="fas fa-globe"></i> https://yangfengquan.github.io</li>
                        <li><i class="fab fa-gitee"></i> Gitee开源项目</li>
                    </ul>
                </div>
            </div>
            <div class="copyright">
                <p>&copy; 2025 汤圆管道. 保留所有权利.</p>
            </div>
        </div>
    </footer>

    <script>
        // 移动端菜单切换
        document.querySelector('.mobile-menu').addEventListener('click', function() {
            document.querySelector('.nav-links').classList.toggle('active');
        });

        // 标签页切换
        const tabBtns = document.querySelectorAll('.tab-btn');
        const tabContents = document.querySelectorAll('.tab-content');
        
        tabBtns.forEach(btn => {
            btn.addEventListener('click', () => {
                // 移除所有active类
                tabBtns.forEach(b => b.classList.remove('active'));
                tabContents.forEach(c => c.classList.remove('active'));
                
                // 添加active类到当前按钮和内容
                btn.classList.add('active');
                document.getElementById(btn.dataset.tab).classList.add('active');
            });
        });

        // 平滑滚动
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function (e) {
                e.preventDefault();
                
                const targetId = this.getAttribute('href');
                if (targetId === '#') return;
                
                const targetElement = document.querySelector(targetId);
                if (targetElement) {
                    window.scrollTo({
                        top: targetElement.offsetTop - 70,
                        behavior: 'smooth'
                    });
                    
                    // 关闭移动端菜单
                    document.querySelector('.nav-links').classList.remove('active');
                }
            });
        });
    </script>
</body>
=======
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>汤圆管道 - 专业的管道阻力和绝热计算软件</title>
    <style>
        /* 全局样式 */
        :root {
            --primary-color: #2c6fbb;
            --secondary-color: #1e8449;
            --light-color: #f8f9fa;
            --dark-color: #343a40;
            --gray-color: #6c757d;
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            line-height: 1.6;
            color: var(--dark-color);
            background-color: #fff;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        section {
            padding: 80px 0;
        }
        
        h1, h2, h3, h4 {
            margin-bottom: 1rem;
            line-height: 1.3;
        }
        
        h1 {
            font-size: 2.5rem;
            font-weight: 700;
        }
        
        h2 {
            font-size: 2rem;
            font-weight: 600;
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
        }
        
        h2:after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--primary-color);
            border-radius: 2px;
        }
        
        p {
            margin-bottom: 1rem;
        }
        
        .btn {
            display: inline-block;
            padding: 12px 30px;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 1rem;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .btn:hover {
            background-color: #1e5a9c;
            transform: translateY(-3px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }
        
        .btn-secondary {
            background-color: var(--secondary-color);
        }
        
        .btn-secondary:hover {
            background-color: #157347;
        }
        
        /* 导航栏 */
        header {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: fixed;
            width: 100%;
            z-index: 1000;
        }
        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
        }
        
        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            text-decoration: none;
            display: flex;
            align-items: center;
        }
        
        .logo i {
            margin-right: 10px;
            font-size: 1.8rem;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
        }
        
        .nav-links li {
            margin-left: 30px;
        }
        
        .nav-links a {
            text-decoration: none;
            color: var(--dark-color);
            font-weight: 500;
            transition: var(--transition);
        }
        
        .nav-links a:hover {
            color: var(--primary-color);
        }
        
        .mobile-menu {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        /* 首页大图 */
        .hero {
            background: linear-gradient(135deg, rgba(44, 111, 187, 0.9), rgba(30, 132, 73, 0.8)), url('https://images.unsplash.com/photo-1621905252507-b35492cc74b4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 180px 0 100px;
            text-align: center;
        }
        
        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1.5rem;
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 2rem;
        }
        
        /* 特性部分 */
        .features {
            background-color: var(--light-color);
        }
        
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .feature-card {
            background-color: white;
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
            text-align: center;
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .feature-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 20px;
        }
        
        .feature-card h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
        }
        
        /* 功能部分 */
        .functionality {
            background-color: white;
        }
        
        .function-tabs {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            margin-bottom: 40px;
        }
        
        .tab-btn {
            padding: 10px 20px;
            background: none;
            border: none;
            border-bottom: 3px solid transparent;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            margin: 0 10px;
        }
        
        .tab-btn.active {
            color: var(--primary-color);
            border-bottom: 3px solid var(--primary-color);
        }
        
        .tab-content {
            display: none;
        }
        
        .tab-content.active {
            display: block;
        }
        
        .tab-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }
        
        .tab-item {
            background-color: var(--light-color);
            padding: 20px;
            border-radius: 8px;
        }
        
        /* 下载部分 */
        .download {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            text-align: center;
            padding: 100px 0;
        }
        
        .download h2 {
            color: white;
        }
        
        .download h2:after {
            background-color: white;
        }
        
        .download p {
            max-width: 700px;
            margin: 0 auto 2rem;
        }
        
        .download-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }
        
        .download .btn {
            background-color: white;
            color: var(--primary-color);
        }
        
        .download .btn:hover {
            background-color: #f0f0f0;
        }
        
        /* 页脚 */
        footer {
            background-color: var(--dark-color);
            color: white;
            padding: 60px 0 30px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-column h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-column h3:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background-color: var(--primary-color);
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: #b0b0b0;
            text-decoration: none;
            transition: var(--transition);
        }
        
        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }
        
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #b0b0b0;
            font-size: 0.9rem;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            h1 {
                font-size: 2rem;
            }
            
            h2 {
                font-size: 1.8rem;
            }
            
            .hero {
                padding: 150px 0 80px;
            }
            
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .nav-links {
                display: none;
                position: absolute;
                top: 70px;
                left: 0;
                width: 100%;
                background-color: white;
                flex-direction: column;
                padding: 20px;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
            }
            
            .nav-links.active {
                display: flex;
            }
            
            .nav-links li {
                margin: 10px 0;
            }
            
            .mobile-menu {
                display: block;
            }
            
            .download-buttons {
                flex-direction: column;
                align-items: center;
            }
        }
    </style>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
</head>
<body>
    <!-- 导航栏 -->
    <header>
        <div class="container">
            <nav>
                <a href="#" class="logo">
                    <i class="fas fa-tools"></i>
                    汤圆管道
                </a>
                <ul class="nav-links">
                    <li><a href="#home">首页</a></li>
                    <li><a href="#features">特性</a></li>
                    <li><a href="#functionality">功能</a></li>
                    <li><a href="#download">下载</a></li>
                </ul>
                <div class="mobile-menu">
                    <i class="fas fa-bars"></i>
                </div>
            </nav>
        </div>
    </header>

    <!-- 首页大图 -->
    <section class="hero" id="home">
        <div class="container">
            <h1>汤圆管道</h1>
            <p>严格执行国家和行业标准规范开发的管道阻力和绝热计算软件，精确计算不可压缩流体管道的压力降和热损失，跟踪相变过程。</p>
            <a href="#download" class="btn">立即下载</a>
        </div>
    </section>

    <!-- 特性部分 -->
    <section class="features" id="features">
        <div class="container">
            <h2>软件特性</h2>
            <div class="feature-grid">
                <div class="feature-card">
                    <div class="feature-icon">
                        <i class="fas fa-calculator"></i>
                    </div>
                    <h3>精确计算</h3>
                    <p>严格执行国家和行业标准规范，精确计算不可压缩流体管道的压力降和热损失。</p>
                </div>
                <div class="feature-card">
                    <div class="feature-icon">
                        <i class="fas fa-database"></i>
                    </div>
                    <h3>内置数据库</h3>
                    <p>内置管道类型、管道元件、保温材料数据和物性数据库，方便快捷。</p>
                </div>
                <div class="feature-card">
                    <div class="feature-icon">
                        <i class="fas fa-edit"></i>
                    </div>
                    <h3>可自定义</h3>
                    <p>可以根据需要自行修改或添加管道类型、管道元件和保温材料数据。</p>
                </div>
                <div class="feature-card">
                    <div class="feature-icon">
                        <i class="fas fa-file-alt"></i>
                    </div>
                    <h3>详细报告</h3>
                    <p>生成详细的计算报告书，便于分析和存档。</p>
                </div>
                <div class="feature-card">
                    <div class="feature-icon">
                        <i class="fas fa-sync-alt"></i>
                    </div>
                    <h3>相变跟踪</h3>
                    <p>能够跟踪流体在管道中的相变过程，提供更准确的计算结果。</p>
                </div>
                <div class="feature-card">
                    <div class="feature-icon">
                        <i class="fas fa-gift"></i>
                    </div>
                    <h3>完全免费</h3>
                    <p>软件完全免费使用，无任何功能限制。</p>
                </div>
            </div>
        </div>
    </section>

    <!-- 功能部分 -->
    <section class="functionality" id="functionality">
        <div class="container">
            <h2>主要功能</h2>
            <div class="function-tabs">
                <button class="tab-btn active" data-tab="tab1">管道阻力计算</button>
                <button class="tab-btn" data-tab="tab2">绝热计算</button>
                <button class="tab-btn" data-tab="tab3">数据管理</button>
                <button class="tab-btn" data-tab="tab4">报告生成</button>
            </div>
            <div class="tab-content active" id="tab1">
                <div class="tab-grid">
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 压力降计算</h4>
                        <p>精确计算不可压缩流体在管道中的压力降，考虑摩擦阻力和局部阻力。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 流量计算</h4>
                        <p>根据给定的压差计算管道中的流量，支持多种流体介质。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 管道选型</h4>
                        <p>根据流量和压降要求，自动推荐合适的管道尺寸和类型。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 相变跟踪</h4>
                        <p>跟踪流体在管道中的相变过程，计算相变对压降的影响。</p>
                    </div>
                </div>
            </div>
            <div class="tab-content" id="tab2">
                <div class="tab-grid">
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 热损失计算</h4>
                        <p>精确计算管道在不同保温条件下的热损失。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 保温层厚度计算</h4>
                        <p>根据允许的热损失计算所需的保温层厚度。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 表面温度计算</h4>
                        <p>计算保温管道外表面温度，确保符合安全要求。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 经济性分析</h4>
                        <p>分析不同保温方案的经济性，帮助选择最优方案。</p>
                    </div>
                </div>
            </div>
            <div class="tab-content" id="tab3">
                <div class="tab-grid">
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 材料数据库</h4>
                        <p>内置丰富的管道材料、保温材料和流体物性数据库。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 自定义数据</h4>
                        <p>允许用户添加、修改和删除材料数据，满足个性化需求。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 数据导入导出</h4>
                        <p>支持将数据导出为Excel、CSV等格式，便于数据交换。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 数据备份</h4>
                        <p>自动备份用户自定义数据，防止数据丢失。</p>
                    </div>
                </div>
            </div>
            <div class="tab-content" id="tab4">
                <div class="tab-grid">
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 详细计算报告</h4>
                        <p>生成包含所有计算参数、中间结果和最终结果的详细报告。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 报告自定义</h4>
                        <p>允许用户自定义报告格式和内容，满足不同需求。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 多种输出格式</h4>
                        <p>支持将报告输出为PDF、Word和HTML格式。</p>
                    </div>
                    <div class="tab-item">
                        <h4><i class="fas fa-check-circle"></i> 图表生成</h4>
                        <p>自动生成计算结果图表，直观展示数据关系。</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 下载部分 -->
    <section class="download" id="download">
        <div class="container">
            <h2>立即下载</h2>
            <p>汤圆管道工具完全免费，无需注册，无任何功能限制。立即下载体验专业的管道阻力和绝热计算。</p>
            <div class="download-buttons">
                <a href="https://gitee.com/yangshu/tang-yuan-tools/releases/download/v1.0/%E6%B1%A4%E5%9C%86%E7%AE%A1%E9%81%93.exe" class="btn">
                    <i class="fas fa-download"></i> 下载软件 (Windows)
                </a>
                <a href="#" class="btn btn-secondary">
                    <i class="fas fa-book"></i> 使用手册
                </a>
            </div>
        </div>
    </section>

    <!-- 页脚 -->
    <footer>
        <div class="container">
            <div class="footer-content">
                <div class="footer-column">
                    <h3>汤圆管道</h3>
                    <p>严格执行国家和行业标准规范开发的管道阻力和绝热计算软件，为工程师提供准确可靠的计算工具。</p>
                </div>
                <div class="footer-column">
                    <h3>快速链接</h3>
                    <ul class="footer-links">
                        <li><a href="#home">首页</a></li>
                        <li><a href="#features">特性</a></li>
                        <li><a href="#functionality">功能</a></li>
                        <li><a href="#download">下载</a></li>
                    </ul>
                </div>
                <div class="footer-column">
                    <h3>支持</h3>
                    <ul class="footer-links">
                        <li><a href="#">使用手册</a></li>
                        <li><a href="#">常见问题</a></li>
                        <li><a href="#">更新日志</a></li>
                        <li><a href="#">联系我们</a></li>
                    </ul>
                </div>
                <div class="footer-column">
                    <h3>联系我们</h3>
                    <ul class="footer-links">
                        <li><i class="fas fa-envelope"></i> yangfengquan@126.com</li>
                        <li><i class="fas fa-globe"></i> https://yangfengquan.github.io</li>
                        <li><i class="fab fa-gitee"></i> Gitee开源项目</li>
                    </ul>
                </div>
            </div>
            <div class="copyright">
                <p>&copy; 2025 汤圆管道. 保留所有权利.</p>
            </div>
        </div>
    </footer>

    <script>
        // 移动端菜单切换
        document.querySelector('.mobile-menu').addEventListener('click', function() {
            document.querySelector('.nav-links').classList.toggle('active');
        });

        // 标签页切换
        const tabBtns = document.querySelectorAll('.tab-btn');
        const tabContents = document.querySelectorAll('.tab-content');
        
        tabBtns.forEach(btn => {
            btn.addEventListener('click', () => {
                // 移除所有active类
                tabBtns.forEach(b => b.classList.remove('active'));
                tabContents.forEach(c => c.classList.remove('active'));
                
                // 添加active类到当前按钮和内容
                btn.classList.add('active');
                document.getElementById(btn.dataset.tab).classList.add('active');
            });
        });

        // 平滑滚动
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function (e) {
                e.preventDefault();
                
                const targetId = this.getAttribute('href');
                if (targetId === '#') return;
                
                const targetElement = document.querySelector(targetId);
                if (targetElement) {
                    window.scrollTo({
                        top: targetElement.offsetTop - 70,
                        behavior: 'smooth'
                    });
                    
                    // 关闭移动端菜单
                    document.querySelector('.nav-links').classList.remove('active');
                }
            });
        });
    </script>
</body>
>>>>>>> bcca7295e053cd8ebc1d27ffa2f8809f1861a4c9
</html>